package com.xxg.renrenorder.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 订单支付参数
 *
 * @author xxg
 * @date 2020/10/30
 */
@Data
@ApiModel(value = "OrderPayQuery", description = "订单支付参数")
public class OrderPayQuery {
    @NotNull(message = "id不能为null")
    @ApiModelProperty(value = "订单ID", required = true)
    private String id;
    @ApiModelProperty(value = "openid,小程序支付时必填")
    private String openid;
}